# Brazil

#########################################################################
#  Slave Trade Ended
#########################################################################
event = { 
	id = 16300
	random = no
	country = BRZ

	trigger = {
		slavery = yes
		}
	
	name = "EVT_16300_NAME"
	desc = "EVT_16300_DESC"
	style = 0
	
	date = { day = 15 month = april year = 1850 }
	
	action_a = {
		name = "OK"
		command = { type = pop_consciousness which = aristocrats value = 1 }
		command = { type = pop_consciousness which = officers value = 1 }
		command = { type = pop_consciousness which = capitalists value = 1 }
		command = { type = pop_consciousness which = clerks value = 1 }
		command = { type = pop_militancy which = aristocrats value = 1 }
		command = { type = pop_militancy which = officers value = 1 }
		command = { type = pop_militancy which = capitalists value = 1 }
		command = { type = pop_militancy which = clerks value = 1 }
		command = { type = prestige value = 25 }
		command = { type = pop_dominant_issue which = aristocrats value = slavery }
		command = { type = pop_dominant_issue which = officers value = slavery }
		command = { type = pop_dominant_issue which = capitalists value = slavery }
	}
}

#########################################################################
#  Slavery Abolished
#########################################################################
event = { 
	id = 16301
	random = no
	country = BRZ
	
	trigger = {
		NOT = {
			exists = CSA
		}
		NOT = { government = { type = conservative } }
		NOT = { government = { type = reactionary } }
		slavery = yes
	}
	
	name = "EVT_16301_NAME"
	desc = "EVT_16301_DESC"
	style = 0
	
	date = { day = 1 month = january year = 1885 }
	offset = 30
	deathdate = { day = 1 month = january year = 1920 }
	
	action_a = {
		name = "OK"
		command = { type = pop_consciousness which = aristocrats value = 1 }
		command = { type = pop_consciousness which = officers value = 1 }
		command = { type = pop_consciousness which = capitalists value = 1 }
		command = { type = pop_consciousness which = clerks value = 1 }
		command = { type = pop_militancy which = aristocrats value = 1 }
		command = { type = pop_militancy which = officers value = 1 }
		command = { type = pop_militancy which = capitalists value = 1 }
		command = { type = pop_militancy which = clerks value = 1 }
		command = { type = prestige value = 50 }
		command = { type = convert_pop_type which = slaves value = labourers }
		command = { type = set_slavery value = no }
	}
}

#########################################################################
#  End of Brazilian Monarchy
#########################################################################
event = { 
	id = 16302
	random = no
	country = BRZ
	
	trigger = {
		OR = {
			constitution = { type = monarchy }
			constitution = { type = constitutional_monarchy }
		}
	}
	
	name = "EVT_16302_NAME"
	desc = "EVT_16302_DESC"
	style = 0
	
	date = { day = 15 month = november year = 1889 }
	
	action_a = {
		name = "ACTIONNAME16302A" # Freedom!
		ai_chance = 60
		command = { type = constitution which = presidential_dictatorship }
		command = { type = executive_designation which = laws_by_decree }
		command = { type = party_system which = multi_party }
		command = { type = national_value which = liberty }
		command = { type = prestige value = 25 }
		command = { type = flagname which = republic }
	}
	action_b = {
		name = "ACTIONNAME16302B" # Tradition!
		ai_chance = 40
		command = { type = constitution which = constitutional_monarchy }
		command = { type = executive_designation which = hms_government }
		command = { type = party_system which = multi_party }
		command = { type = national_value which = order }
		command = { type = prestige value = -25 }
	}
}										